//===== eAthena Script =======================================
//= Quest Maker v3.0 Script
//===== By: ==================================================
//= Rehael [QM]
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= Valiant Emulator
//===== Additional Comments: =================================
//= V 1.0 thx to ville
//============================================================

prontera,78,283,4	script	Gabriel	971,{
	mes "[^0080C0Gabriel^000000]";
	mes "Humm.";
	mes "Would you be interested in the item called Fly Wing?";
	mes "you just have to get me a few stuffs";
	next;
	menu "What stuff?",L_required,"I gotcha stuff babe",L_check,"Leave",L_partir;

	L_required:
		mes "[^0080C0Gabriel^000000]";
		mes "^FF0000300^000000 Blue Tinted Feather"; //7441
		mes "^FF0000200^000000 Elastic Band"; //7200
		mes "^FF00001^000000 Kitty Band"; //2213
		mes "^0000FF10000^000000 zeny";
		close;

	L_check:
		if(countitem(7441) < 100) goto L_manque;
		if(countitem(7200) < 200) goto L_manque;
		if(countitem(2213) < 1) goto L_manque;
		if(Zeny < 10000) goto L_manque;
		mes "[^0080C0Gabriel^000000]";
		mes "Thanks to you i will be able to get help my friends back home";
		delitem 7441,100;
		delitem 7200,200;
		delitem 2213,1;
		set Zeny, Zeny - 10000;
		getitem 5210,1;
		close;

	L_manque:
		mes "[^0080C0Gabriel^000000]";
		mes "I need more stuff to make it";
		if(countitem(7441) < 100) mes "^FF0000"+(100 - countitem(7441)) +"^000000 Blue Tinted Feather";
		if(countitem(7200) < 200) mes "^FF0000"+(200 - countitem(7200)) +"^000000 Elastic Band";
		if(countitem(2213) < 1) mes "^FF0000"+(1 - countitem(2213)) +"^000000 Kitty Band";
		if(Zeny < 10000) mes "^0000FF"+(10000 - Zeny)+"^000000 Zeny";
		close;

	L_partir:
		mes "[^0080C0Gabriel^000000]";
		mes "damn prontera people";
		close;
}
